package com.corp.one.spi;

import com.corp.platform.common.response.RespResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author Keanu
 * @Date 2020/7/2 0002 17:06
 * @Version
 **/
@FeignClient(name = "service-one")
public interface RemoteOneClient {
    @GetMapping("/{name}/testservicetwo")
    RespResult<String> serviceOne(@PathVariable String name);
}
